<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Alta Pasajero</title>
<meta name="keywords"
	content="carousel theme, free templates, image carousel, darkgray, pixelated background, templatemo, CSS, HTML" />
<meta name="description"
	content="Carousel Theme with darkgray background - free CSS template provided by templatemo.com" />
<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/jquery-1-4-2.min.js"></script>
<!--script type="text/javascript" src="/jqueryui/js/jquery-ui-1.7.2.custom.min.js"></script-->
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/showhide.js"></script>
<script type="text/JavaScript" src="js/jquery.mousewheel.js"></script>

<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
	/***********************************************
	 * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
	 * This notice MUST stay intact for legal use
	 * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
	 ***********************************************/
</script>

<script type="text/javascript">
	ddsmoothmenu.init({
		mainmenuid : "templatemo_menu", //menu DIV id
		orientation : 'h', //Horizontal or vertical menu: Set to "h" or "v"
		classname : 'ddsmoothmenu', //class added to menu's outer DIV
		//customtheme: ["#1c5a80", "#18374a"],
		contentsource : "markup" //"markup" or ["container_id", "path_to_menu_file"]
	})
</script>

<!-- Load the CloudCarousel JavaScript file -->
<script type="text/JavaScript" src="js/cloud-carousel.1.0.5.js"></script>

<script type="text/javascript">
	$(document).ready(function() {

		// This initialises carousels on the container elements specified, in this case, carousel1.
		$("#carousel1").CloudCarousel({
			reflHeight : 40,
			reflGap : 2,
			titleBox : $('#da-vinci-title'),
			altBox : $('#da-vinci-alt'),
			buttonLeft : $('#slider-left-but'),
			buttonRight : $('#slider-right-but'),
			yRadius : 30,
			xPos : 480,
			yPos : 32,
			speed : 0.15,
		});
	});
</script>

</head>

<body id="home">
<%@ page session="true" %>
<%
String usuario = "";
HttpSession sesionOk = request.getSession();
if (sesionOk.getAttribute("idPasaj") == null) {
	%>
	<jsp:forward page="login.jsp">
	<jsp:param name="errorLogin" value="Es
	obligatorio identificarse"/>
	</jsp:forward>
	<%
}
%>

	<jsp:include page="header.jsp"></jsp:include>

	<center>

		<html:form action="viajesAbm.do" onsubmit="return validateViajeAbmForm(this);" >
			<html:hidden property="event" />
				<html:javascript formName="viajeAbmForm" />
			<table  id="gradient-style" summary="Meeting Results">

				<tr>
			
					<td><bean:message key="label.viajeAbmForm.codigo" />:</td>
					<td><html:hidden property="id" disabled="true"/> </td>
				</tr>



				<tr>
					<td><bean:message key="label.viajeAbmForm.empresaId" />:</td>
					<td><html:select property="empresaId">
							<html:options collection="listaEmpresa" property="id"
								labelProperty="nombre" filter="true" />
						</html:select></td>
				</tr>


				<tr>
					<td><bean:message key="label.viajeAbmForm.ciudadId" />:</td>
					<td><html:select property="ciudadId">
							<html:options collection="listaCiudad" property="id"
								labelProperty="nombre" filter="true" />
						</html:select></td>
				</tr>


				<tr>
					<td><bean:message key="label.viajeAbmForm.servicioId" />:</td>
					<td><html:select property="servicioId">

							<html:options collection="listaServicio" property="id"
								labelProperty="descripcion" filter="true" />
						</html:select></td>
				</tr>
				<tr>

					<td><bean:message key="label.viajeAbmForm.hora_salida" />:</td>
					<td><html:text property="hora_salida"></html:text></td>
				</tr>


				<tr>
					<td><bean:message key="label.viajeAbmForm.hora_llegada" />:</td>
					<td><html:text property="hora_llegada"></html:text></td>
				</tr>
				<tr>
					<td><bean:message key="label.viajeAbmForm.calidad" />:</td>
					<td><html:text property="calidad"></html:text></td>
				</tr>


				<tr>
					<td><bean:message key="label.viajeAbmForm.precio" />:</td>
					<td><html:text property="precio"></html:text></td>
				</tr>
				

				
				

			</table>
			
			<table>
			<tr>
		  <td><input type="submit" value='Guardar' style="height : 23px; width : 84px;"/></td>
	   <td><html:cancel value="Cancelar"> </html:cancel></td>
	  </tr>
			</table>
		</html:form>


	</center>








	<div id="templatemo_bottom_wrapper">
		<div id="templatemo_bottom">
			<div class="col one_third">
				<h4>
					<span></span>
				</h4>

			</div>
			<div class="col one_third">
				<h4>
					<span></span>
				</h4>

			</div>
			<div class="col one_third no_margin_right">
				<h4>
					<span></span>
				</h4>

			</div>

			<div class="cleaner"></div>
		</div>
		<!-- END of tempatemo_bottom -->
	</div>
	<!-- END of tempatemo_bottom_wrapper -->

	<jsp:include page="footer.jsp"></jsp:include>

	<script type='text/javascript' src='js/logging.js'></script>
</body>
</html>


